home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC Media 4
/
PC MEDIA CD04.iso
/
share
/
udos
/
sst_53a
/
sst.doc
< prev
next >
Wrap
Text File
|
1991-07-01
|
49KB
|
1,144 lines
SST: the Supersonic Search Tool v5.3a
Released July 2, 1991
A PC-DOS / MS-DOS Fast File Finder
_______
____|__ | (tm)
--| | |-------------------
| ____|__ | Association of
| | |_| Shareware
|__| o | Professionals
-----| | |---------------------
|___|___| MEMBER
Written by Keith Ledbetter
4240 Ketcham Drive
Chesterfield, VA 23832
(804) 674-0780
(6:00pm - 10:00pm Eastern Time)
Tech Support BBS: Blue Ridge Express
804-790-1675
30 Phone Lines (2400 bd)
Sub-board KEITHL
("J KEITHL")
Electronic mail on GEnie: ORION.MICRO
CompuServe: 72240,1221
BIX: kledbetter
Program and Documentation are Copyright (c) 1988-1991 by Keith Ledbetter.
All rights reserved.
Portions Copyright Borland, International. SST is written in Borland C++.
This program is produced by a member of the Association of Shareware
Professionals (ASP). ASP wants to make sure that the shareware principle
works for you. If you are unable to resolve a shareware-related problem with
an ASP member by contacting the member directly, ASP may be able to help. The
ASP Ombudsman can help you resolve a dispute or problem with an ASP member,
but does not provide technical support for members' products. Please write to
the ASP Ombudsman at 545 Grover Road, Muskegon, MI 49442 or send a Compuserve
message via easyplex to ASP Ombudsman 70007,3536.
SST Registration Form Keith Ledbetter
4240 Ketcham Drive
Chesterfield, VA 23832
SST Version 5.3a Quantity Price
Disk with branding utility ($15/copy): _______ __________
Total enclosed __________
Please make payment by check or money order (in US funds) payable
to "Keith Ledbetter".
Please specify the diskette size(s) that are acceptable for you:
___ 5.25" 1.2MB ___ 3.5" 1.44MB ___ 5.25" 360KB ___ 3.50" 720KB
Name ________________________________________________________
Company ________________________________________________________
Address ________________________________________________________
________________________________________________________
Phone ________________________________________________________
Where did you get SST? ____________________________________
Multi-System and Reseller Licenses:
Site, corporate, network, and reseller licenses are available
for SST. Check the line on the order form or contact me for
more information. The following schedule provides some
examples of multi-system license fees. The fee includes one
master diskette which you may then copy and use on the number
of machines listed below:
# Users Price
------- -------
5 $ 70.00 ($14 / copy)
10 130.00 ($13 / copy)
25 300.00 ($12 / copy)
50 550.00 ($11 / copy)
100 1,000.00 ($10 / copy)
Unlimited 1,500.00
Supersonic Search Tool Page 1
Definition of ShareWare
Shareware distribution gives users a chance to try software before
buying it. If you try a Shareware program and continue using it,
you are expected to register. Individual programs differ on details
-- some request registration while others require it, some specify
a maximum trial period. With registration, you get anything from the
simple right to continue using the software to an updated program with
printed manual.
Copyright laws apply to both Shareware and commercial software,
and the copyright holder retains all rights, with a few specific
exceptions as stated below. Shareware authors are accomplished
programmers, just like commercial authors, and the programs are
of comparable quality. (In both cases, there are good programs
and bad ones!) The main difference is in the method of
distribution. The author specifically grants the right to copy
and distribute the software, either to all and sundry or to a
specific group. For example, some authors require written
permission before a commercial disk vendor may copy their
Shareware.
Shareware is a distribution method, not a type of software. You
should find software that suits your needs and pocketbook,
whether it's commercial or Shareware. The Shareware system makes
fitting your needs easier, because you can try before you buy.
And because the overhead is low, prices are low also. Shareware
has the ultimate money-back guarantee -- if you don't use the
product, you don't pay for it.
Supersonic Search Tool Page 2
Disclaimer - Agreement
Users of SST must accept this disclaimer of warranty:
"SST is supplied as is. The author disclaims all
warranties, expressed or implied, including, without limitation,
the warranties of merchantability and of fitness for any purpose.
The author assumes no liability for damages, direct or conse-
quential, which may result from the use of SST."
SST is a "shareware program" and is provided at no charge
to the user for evaluation. Feel free to share it with your
friends, but please do not give it away altered or as part of
another system. The essence of "user-supported" software is to
provide personal computer users with quality software without
high prices, and yet to provide incentive for programmers to
continue to develop new products. If you find this program
useful and find that you are using SST and continue to use
SST after a reasonable trial period, you must make a reg-
istration payment of $15 to Keith Ledbetter. The $15
registration fee will license one copy for use on any one
computer at any one time. You must treat this software just like
a book. An example is that this software may be used by any
number of people and may be freely moved from one computer
location to another, so long as there is no possibility of it
being used at one location while it's being used at another.
Just as a book cannot be read by two different persons at the
same time.
Commercial users of SST must register and pay for their
copies of SST within 30 days of first use or their license
is withdrawn. Site-License arrangements may be made by con-
tacting Keith Ledbetter.
You are encouraged to pass a copy of SST along to your
friends for evaluation. One easy way to do this is by placing
SST on your favorite Bulletin Board System. Please encourage
users to register their copy if they find that they can use it.
All registered users will receive a copy of the latest version
of the SST program.
Supersonic Search Tool Page 3
Introduction
Note: For a list of new features in this version, see the file HISTORY.DOC.
Thank you for taking the time to try out SST v5.3a. You will find
that SST can satisfy almost all of your file searching needs. It has
a multitude of search options, some of which are:
o The ability to search inside ARC, ZIP, PKA, PAK,
ZOO, ARJ, and LZH archived files.
o The ability to search for files that have been
compressed with PK-Ware's PKLite program.
o True regular expression searching on filenames.
o The ability to display duplicate entries across all of
your disk drives (even those duplicates that are in the
archive files mentioned above!).
o Up to 25 filenames can be excluded from the search.
o Built-in ZIP archive error detection. Every time you
do a search that includes ZIP files, every ZIP file on
your hard drive is checked for integrity!
o The ability to do restrictive searches on such criteria
as file dates and file sizes.
o The ability to do a verified (or un-verified) deletion
of any files found in the search (great for periodically
deleting those .BAK files or files with a size of zero).
o Support for Novell's "volume" configurations.
o Default switches can be set in an environment variable.
Don't be fooled by imitations. There are recent file finder programs out
there making claims that their "features" are "never before found in any
file finder programs". Funny! Their "features" (like date-range searching
and filesize searching) have been in our program a YEAR before they were
even released!
Now, here is the only pitch that you'll see in this document for some of
your hard-earned money. SST is being distributed as a Shareware product.
If you find that you are still using this program a couple of weeks after
you get it, please take the time to fill out the registration form at the
front of this documentation file and send in your registration fee of $15.
Supersonic Search Tool Page 4
Introduction
When you send in your registration fee, you will receive a disk with the
most recent version of SST, along with a BRAND utility that you can use
to place your name and serial number into ALL FUTURE VERSIONS of SST.
No future upgrade costs; you pay only one time! You will also receive
unlimited telephone support for the program. Registered SST users may
call me at (804) 674-0780 between the hours of 6:00 pm - 10:00 pm (Eastern)
Monday-Friday, and from 10 am - 6 pm on the weekends. Thank you for
supporting SST and my other Shareware programs!
Supersonic Search Tool Page 5
What SST Does
SST helps hard drive owners retain (some of) their sanity by locating
files on their hard drives. We've all had situations where we KNOW that a
file is somewhere on the hard drive; we just can't remember where. Another
added feature of SST is that it can be told to look inside of archive files,
too. This is a very important feature with the common acceptance of archived
files these days. In this document, "archive files" is used as a generic
term for any file with the following extension:
.ARC .ARJ .ZIP .LZH .ZOO .PAK .PKA
Other advanced features of SST include (a) grep-type searching on
filenames (eg: find filenames with a '4' in the fifth character), (b) date
and time range specifiers, and (c) file size range specifiers. There are
many switches for SST, and it is highly recommended that you read this
document carefully so that you will be able to get the most out of the
program. There are very few things you can't do with SST when it comes
to locating files. As an advanced example:
SST cde:*.bak "[0-9]" -gt1024 -lt2048 -s12-10-89 -b12-20-89 -v
How about THAT for a command line? What this would do is delete all .BAK
files on drives C:, D:, and E: that have a number somewhere in the filename
(eg: PROG01.BAK). But, only if the file is between 1025 and 2047 bytes in
length, and was last modified sometime between the dates of 12-10-89 and
12-19-89.
Yes, I know that you'll probably never need to do something exotic as
this, but it shows the power that you have with SST. Take the time to
learn SST, and it will always be your friend.
Supersonic Search Tool Page 6
The Command Line Interface
Invoking SST is simplicity itself. If you do not specify a path,
then SST will search the entire default drive. If you specify a
starting path, then the search will occur from that path downward (only).
Here are some basic command line examples:
SST ab*.c search entire default drive for any filename
matching "ab*.c".
SST \turboc\ab*.c search downward from the \turboc\ directory
on the default drive looking for "ab*.c".
SST d:*.dat -a search entire drive d: and all archive files
on drive d: looking for "*.dat".
SST cd:*.dat -a search entire drive c: and drive d: and all
archive files looking for "*.dat".
SST myprog search entire default drive looking for
"myprog.*" (SST will append a ".*" to
a filename with no extension specified).
SST myprog. search entire default drive looking for
"myprog". If you specify a "." after a
filename, SST will not append an "*" to it.
Supersonic Search Tool Page 7
Command Line Switches
Switch: -A
Meaning: search all archive files
Description: The '-a' switch tells SST to look in any archive file
encountered for a matching filename. If a matching filename
is found, it will be displayed in parenthesis along with the
full name of the archive file it resides in.
Switch: -AO
Meaning: search -ONLY- archive files
Description: The '-ao' switch tells SST to ONLY look in any archive file
encountered for a matching filename. If a matching filename
is found, it will be displayed in parenthesis along with the
full name of the archive file it resides in.
Switch: -ARC -ARJ -PKA -LZH -ZIP -ZOO
Meaning: search only the archive formats specified
Description: These switches tell SST to only look inside the specified
types of archive files for a matching filename. For example,
if you are sure that the file named MYPROG.EXE is somewhere
on drive C: in a .ZIP file, then
SST c:myprog.exe -zip
would find the file. Specifying individual archive format
switches slightly speeds up SST, because the program doesn't
have to waste time searching for (and through) all six archive
formats.
Switch: "regular expression"
Meaning: do a grep-type search on the filename
Description: Any command line string enclosed within double quotes will be
considered a regular expression, and will cause SST to go
into its "grep mode". A regular expression can be used with
or without a filename search mask.
As of version 4.1a, when you specify a regular expression,
SST will also look inside of 4DOS description files for
the string specified. If a match is found, the normal output
line will be displayed, along with the actual 4DOS description
line below the filename line.
Special characters within the quoted string are as follows:
^ - start matching at the first of the filename
? - match any character in this position
[..] - range check on character at this position
Supersonic Search Tool Page 8
Command Line Switches
The easiest way to explain is with a few examples:
SST *.bat
the regular search; will display any .BAT file found.
SST *.bat "42"
will display any .BAT file that contains the characters
"42" anywhere in the filename.
SST *.bat "^???42"
will display any .BAT file that contains the characters
"42" in the fourth position of the filename.
SST "[0-9]"
will display any file that contains a number anywhere in
the filename.
SST "[^0-9]"
will display any file that DOES NOT contain a number
anywhere in the filename.
SST "^???a?[acew-z]"
will display any file that contains an 'a' in the fourth
position of the filename and the letters 'a', 'c', 'e',
'w', 'x', 'y', or 'z' in the sixth position of the name.
These grep masks also work when looking inside of archive files.
Switch: -C"command to execute"
-CV"command to execute"
-O"command to display"
Meaning: Execute (or display) a DOS command on all files found.
Description: This switch tells SST to execute the command within the
double quotes on each matching file found. When doing this
command, you have access to replaceable parameters to get to
the full filename, the pathname only, the filename only, and
the name of the archive member (if you're searching archives).
When you use the -cv switch, it operates identically to the
-c switch, except that SST will ask you for confirmation
Supersonic Search Tool Page 9
Command Line Switches
before it actually executes the command.
The only difference between the -o and the -c switches is
that -c actually executes the command whereas -o prints the
command it WOULD have executed to the screen. Because of
this, the -o command can be invaluable. First, you can use
it before doing the -c command to make sure that what you
think you told SST to do is the same as what you DID
tell it to do. In other words, if you're about to do a
command that could have side effects (such as deleting files),
it would be good to do the -o command first and look at what
SST actually will do when you execute the -c command.
The second use of the -o command is to redirect all of the
command lines into a batch file that you can execute later.
Replacement parameters for both -c and -o are as follows:
Parm Desc Normal example Archive example
---- ---- ----------------- -----------------
&f full file name c:\dos\xcopy.exe c:\dos\comlib.zip
&p path name only c:\dos\ c:\dos\
&d directory name c:\dos c:\dos
&n file name only xcopy.exe comlib.zip
&m archive member <blank> xcopy.exe
&r root of the name xcopy xcopy
&& the '&' char
A few examples would probably be the best way to explain this
concept. Let's do a few "real-world" examples here.
1) You have many .DOC files straying all over your hard drive,
and you'd like to incorporate them all into one simple
ZIP file. You could do this with the following command:
C:> SST -d *.doc -c"pkzip -m c:\docs.zip &f"
2) You want to make a copy of all of your Pascal source code
that has been changed today so that you can take it home
with you:
C:> SST -d *.pas -s0 -c"copy &f a:\"
3) You want to get a text file listing of every directory
name on your hard drive(s) in the file HARDRIVE.DAT:
C:> SST -d nul -o"&p" >c:\Hardrive.Dat
4) You want to delete every .BAK file on your system (even
those that are in ZIP files). This would be a 2-step
process:
First, delete the normal .BAK files
C:> SST *.bak -v -n
Supersonic Search Tool Page 10
Command Line Switches
Then, delete them from the archive files
C:> SST -d -ao -zip *.bak -c"pkzip -d &f &m"
Switch: -D
Meaning: search all available hard drives.
Description: This switch tells SST to search every hard drive on your
system (including network drives), starting with C:. In other
words, if you have drives C:, D:, E:, and F: then the following
two command lines would do the exact same thing:
SST cdef:myprog.exe
or
SST myprog.exe -d
Note that specifying the "-d" switch overrides any drive
letters that you specify on the command line.
Switch: -DIR
Meaning: include directory names in the search.
Description: This switch tells SST to also include directory names in
the search. This allows you to not only locate a lost file,
but lost directories, too.
Switch: -DUP
Meaning: Display only duplicate filenames on the drives searched.
Description: If the -DUP switch is specified, only those files that have
duplicate entries will be displayed. All other switches are
active during -DUPlicate processing. For example, the
following command line:
SST *.bat -a -d -dup
would cause SST to search all hard drives (-d) looking for
duplicate .BAT files. SST would also look inside of all
found Archive files (-a).
Switch: -E
Meaning: use "*.*" for subdirectory searches
Description: By default, SST assumes that you don't have any directories
on your hard drive that have extensions in the filename. So,
when SST is looking for new directories, it will search with
a filemask of "*.". This significantly speeds up the hard drive
search. If you do have directories that have extensions in their
names, you must specify the '-e' switch or SST -will not-
find files within that subdirectory. The easiest thing to do is
to set your SST environment variable to default to this
Supersonic Search Tool Page 11
Command Line Switches
option (see "The SST Environment Variable" below).
Switch: -F
Meaning: display filenames only
Description: This switch causes SST to display only the filename of
matching files that it finds. No header or footer information
will be displayed. This is most useful when you are
redirecting the output from SST to a file.
Switch: -G or -GF
Meaning: go to the drive and subdirectory of the found file
Description: If you specify the '-g' switch, SST will prompt you with
Goto this subdirectory? (Y/N/Q) _
whenever it finds a matching file. Press 'Y' to change to
the drive and subdirectory displayed, or 'N' to continue
searching the drive. You may also enter 'Q' to abort SST.
If you specify the '-gf' switch, SST will change to the
directory of the first found file without prompting you.
Switch: -H or -HO
Meaning: start searching in the current subdirectory
Description: The '-h' switch tells SST "start searching where I'm at
right now". For example, if you are currently in the TURBOC
subdirectory, then the following two commands would do the
exact same thing:
SST \turboc\myprog.c
or
SST myprog.c -h
The '-ho' switch tells SST to both (a) start in the current
directory, and (b) to ONLY search the current directory.
With this switch, SST can be used as a directory program
with the ability to list archive files. For example,
you could create the following batch file and call it
ARCDIR.BAT:
@echo off
SST %1 -ho -a
Now, when you give the command "ARCDIR", you will be shown
the directory listing, along with all files contained within
archive files in your current subdirectory.
Switch: -I
Meaning: ignore the environment variable SST
Supersonic Search Tool Page 12
Command Line Switches
Description: The '-i' switch tells SST to ignore any default switches
that you have set with the SST environment variable. This
is most useful if you have page-breaking set up as a default,
but need to redirect SST's output to a file. You could do
this with a command such as:
SST *.bat -i >files.dat
Switch: -M -R -PL
Meaning: modify SST's default output display
Description: These switches allow you to modify the way that SST
displays its output. By default, SST will place the
filename on the left of the screen (just like DIR does).
If you prefer, you can use '-M' to place the filename in the
middle of the screen, '-R' to place the filename on the
right of the screen, or '-PL' to put the pathname on the left
of the screen. Usually set in the environment.
Switch: -K
Meaning: search only the PATH directories
Description: This switch will cause SST to search only the directories
that are specified in your DOS PATH environment variable.
This option will be used very rarely, but was requested by a
user.
Note: As of v4.1a, this switch was changed. The '-K' switch was
previously the '-C' switch.
Switch: -Y
Meaning: display the output with European-style dates (DD-MM-YY)
Description: Again, a seldom-used switch, but requested by a user.
Switch: -V [-N]
Meaning: do a verified delete of any matching files found
Description: These switches tell SST to delete any matching files found.
If you specify only the '-V' switch, then SST will prompt
you before it deletes each file. If you specify BOTH the '-V'
and the '-N' switch, then SST --WILL NOT-- prompt you; it
will just go ahead and delete the file (PLEASE be careful with
this one!). I use these switches daily to clean up all of the
.BAK files created by Turbo C. For example:
SST *.bak -v -n
Switch: -W
Meaning: show wasted space occupied by matching files.
Description: This switch is used very little, but can come in handy if you
are trying to figure out how much disk space is being wasted
Supersonic Search Tool Page 13
Command Line Switches
by a bunch of very small files (batch files are a prime
example). SST will total and display to you the amount of
disk space that is being wasted due to cluster overhead.
Switch: -U
Meaning: display all output in upper case
Description: Some people still prefer to see directory-type listings in
ALL UPPER CASE; if you're one of these people, then just use
the '-U' switch. It's best to set this in your SST
environment variable.
Switch: -P
Meaning: pause and wait for a key when the screen fills up
Description: A very handy switch, best used when set in your environment
variable. It will cause SST to pause the screen when it
fills up, so you don't have to go crazy trying to hit the
control-S key.
Switch: -PKLite
Meaning: search for files compressed with PKLite
Description: This switch will cause SST to only look for .COM and
.EXE files that have been compressed with PK-Ware's PKLITE
program. PKLite is a program that compresses executable
programs, and then un-compresses them at runtime.
Switch: -Xfilemask
Meaning: exclude this filespec from the search
Description: The '-X' switch allows you to exclude certain filenames from
the directory search. You can specify up to 25 exclusion
masks. For example, if you wanted to see all files on your
drive except for .OBJ and .PRG files, you could do:
SST *.* -x*.obj -x*.prg
Switch: -LT -EQ -GT
Meaning: specify a file size range
Description: These switches allow you to search only for files within a
certain size range. Some examples:
SST *.PAS -LT1024
would display all .PAS files that have a size smaller than
1024 bytes.
SST *.* -EQ0
would display all files that have a length of zero.
Supersonic Search Tool Page 14
Command Line Switches
SST *.* -GT500000
would display all files that are larger than 500,000 bytes.
SST *.* -GT1023 -LT2049
would display all files that are from 1,024 to 2,048
bytes in size, inclusive.
Switch: -S -B
Meaning: specify a file date range
Description: These switches allow you to search only for files within a
certain date range. These switches are the "since" (S)
switch and the "before" (B) switch. Both switches come in
two flavors; you can specify the date in number of days
(eg: -S5) or with a full date (eg: -S8-19-89). If you
specify either switch with no date specifier, then it defaults
to '0 days'. These date specifiers are also used when looking
inside of archive files. Some examples:
SST *.PAS -S5
would display all .PAS files that have a date greater than or
equal to 5 days ago (in other words, modified SINCE 5 days ago).
SST *.PAS -S5-1-89
would display all .PAS files modified SINCE 5/1/89.
SST *.PAS -B5
would display all .PAS files modified BEFORE 5 days ago.
SST *.PAS -B5-1-89
would display all .PAS files modified BEFORE 5/1/89.
SST *.PAS -S5-1-89 -B6-1-89
would display all .PAS files modified between the dates of
5-1-89 and 5-31-89.
SST *.PAS -S
would display all .PAS files that have been modified today
(defaults to '-S0').
Switch: -Z
Meaning: show only files with their archive bit set
Supersonic Search Tool Page 15
Command Line Switches
Description: The '-Z' switch allows you to display only those files which
have their "archive bit" set on. In other words, it will show
all files that have been modified since your last backup (if
your backup program clears the archive bit, that is).
Switch: -HIDDEN
Meaning: also show hidden and system files
Description: The '-hidden' switch allows you to also display those files
which are "system" and "hidden" files.
Supersonic Search Tool Page 16
The SST and SST_DRIVES Environment Variables
When SST begins execution, it searches the environment for a variable
named SST. If this variable is present, its contents will be appended
onto the command line just as if you had entered them in from the keyboard.
This option is very handy for setting "default options" that you'd like for
SST to perform every time. Simply set the SST variable in your
AUTOEXEC.BAT file. For example, if you'd like to always (a) page break
when the screen fills up, (b) display the filenames on the right of the
screen, and (c) display output in upper case, you would put the following in
your AUTOEXEC.BAT file:
SET SST=-P -R -U
SST would then use these options every time you executed the program.
If you specify the "-d" switch (search all drives), then SST will
search the environment looking for a variable named SST_DRIVES. If this
variable is found, SST will use this list as the definition of the
drives to search. If the SST_DRIVES variable does not exist, SST will
use its own list, which defaults to drives c: through z: (ie: cde...z).
The SST_DRIVES variable was added mainly for those people using networks.
SST's reckless abandon of simply searching all drive letters caused
some network users a lot of headaches. It seems that those affected the
most were users of Novell networks. On Novell, you can specify many
different drive letters for the same "volume" (ie: partition), so SST
would show the same physical file many times, since SST thought that
it was really on a different drive. With the SST_DRIVES variable, it is
up to the user to tell SST what drives are physically different. For
example, let's assume that you have 3 volumes defined, and the drive letter
assignments are as follows:
Volume 1 - drives C: and D:
Volume 2 - drives E: and F:
Volume 3 - drives G: and H:
For SST to work correctly, you would put the following line in your
AUTOEXEC.BAT file:
Set SST_DRIVES=CEG
Now, when you search using the "-d" switch, SST won't list duplicate
filenames. I have never used a Novell network, so I'm hoping that this
change will eliminate the problems. This problem was brought up to me in
a letter from Bud Huddleston of Chamblee, GA. Luckily, he went into great
detail on what the problem was. The SST_DRIVES variable was the easiest
way I could think of to attack this problem. If this isn't the best way
to handle the situation, I'd appreciate it if you Novell users would drop
me a line with suggestions. Note that the search for the SST_DRIVES variable
CAN NOT be over-ridden from the command line. If the SST_DRIVES variable
Supersonic Search Tool Page 17
The SST and SST_DRIVES Environment Variables
exists, it is used every time. If you need to search a different list,
you must specify a drive list with the filename instead of using the "-d"
switch. For example, "SST cdfg:*.bat".
For those users who are not on a network, you don't need to do anything
differently from version 3.5 of SST. If the SST_DRIVES variable isn't
defined, then v3.6 will perform exactly as v3.5 did.
Supersonic Search Tool Page 18
Duplicate Filename Searching
V4.0 of SST incorporates a feature that I've been wanting for a very
long time - the ability to search all drives, including Archive files, and
display only those files that are duplicated somewhere else. This was a
fairly major upgrade to do, but it turned out (in my opinion) to be the best
added feature to SST yet.
Maybe I'm worse than other people at this, but I'm terrible about doing a
download of a file, un-Arcing it, and then starting to use it. Of course,
the original of that file is still sitting out there somewhere in an Archive
file just eating up hard disk space.
With the new -DUP feature, cleaning up your multiple hard drives from any
duplicate files is much easier. But, be aware that when you invoke the -DUP
switch, SST gets VERY memory-hungry. This is because SST must keep
information on every filename on all of your hard drives (including all of
those filenames in any Archive files) in memory AT ONE TIME.
If you ever get the message "Error: out of memory!" when trying to find
duplicates across all drives, there are a couple of things that you can do.
First of all, see if you can free up any more memory by removing any TSR's
or device drivers. If you still get the "out of memory" message, then there
are two different things that you can do. The first is that you could
compare the drives two (or three) at a time. For example, if you
have drives C:, D:, E:, and F:, first compare drives C: and D:, then C: and
E:, etc. until you've scanned them all.
The second thing you can do (the way I prefer) is to do the duplicate scan
with a filemask; in other words, do the scan on *.EXE, then *.COM, then
*.BAT, etc. For example, here's a sample of what you'd do:
C:> SST *.com -d -a -dup
C:> SST *.bat -d -a -dup
C:> SST *.exe -d -a -dup
I don't see the "out of memory" being a problem except for those people
with HUGE hard drives. I have two 40-meg drives, both packed full of ZIP
files, and I never got close to filling up memory. In addition, SST
is fairly intelligent when saving the names in memory; for example, if
you have 300 files in the path C:\TEST1\TEMP\DATA, the actual pathname
will only get saved one time. If you are looking for duplicates on a very
big hard drive system (let's say 80 meg or more), then SST will take some
time. Don't be alarmed if the program seems to not be doing anything;
searching the file tables of very large hard drives takes some time. I
tinkered with the idea of putting in a twirling cursor or something so that
you'd know SST was still alive, but I decided against it. Since
duplicate searching will probably be redirected to a printer or a disk file
most of the time, I didn't want to trash up the display.
Supersonic Search Tool Page 19
Duplicate Filename Searching
Don't forget that the -DUP switch works in tandem with ALL other SST
switches. For example, specifying -DUP doesn't automatically scan all hard
drives and look inside all Archive files. You must still specify the -A and
-D switches. Also, filename exclusions still work just like normal.
Let's do a few examples:
C:> SST -d -a -dup
This is the command you'll normally want to do when
searching for duplicates. It causes SST to search
all hard drives, and inside Archive files, looking for
duplicates.
C:> SST *.bat -d -a -dup
This command would only list the duplicate .BAT files
on your hard drives.
C:> SST cd:*.* -a -dup -x*.bak -x*.doc
This command would display all duplicate files on drives
C: and D: except any .BAK or .DOC files.
Supersonic Search Tool Page 20
Keith Ledbetter's Software Catalog
Keith Ledbetter's Software Catalog
----------------------------------
Listed below is a chart of my other shareware and freeware utilities,
along with the current version number of each. Also listed is the
filename that you will find them under on BBS systems (please note that
they may be different on your favorite BBS's, but it should help you at
least get close to locating them). When you register one of my Shareware
programs, you will receive a disk with all of these utilities on it.
Filename Version Description
----------- ------- -------------------------------
SST_53a.ZIP 5.3a The ultimate file-finder program. Until
recently this was simply called "WhereIs".
It's now been renamed to "Supersonic Search
Tool" to avoid confusion with other programs.
Shareware: $15
LCD_31a.ZIP 2.1a "Led's Change Directory" is an intelligent
directory changing program. This program was
voted one of "the 10 best utilities of 1990"
by the "Public (software) Library" magazine.
Shareware: $15
AV_12.ZIP 1.2 "Archive Viewer" is used to display the names
of members of all of the popular archiving
programs (ZIP, ARC, LHARC, PKARC, ZOO, PAK).
No longer do you have to struggle remembering
the syntax to 6 different archiving programs.
Freeware: $0
X_30.ZIP 3.0 "X: The Executioner" can save you a lot of
disk space. X allows you to ZIP down those
seldom-used-but-hard-to-delete .COM, .EXE,
and .BAT files into one system "Command
Library". You can then execute them easily
by simply typing an "x" in front of the
command line (eg: "x chkdsk c:").
Freeware: $0
ADMENU30.ZIP 3.0 If you own an Adlib Music card, you need this
program. It allows you to ZIP down all of
those .ROL song files you've accumulated, yet
still play them with no extra effort! Uses
a mouse-able, easy-on-the-eyes window system.
Freeware: $0
DELDIR12.ZIP 1.2 "Delete Directory" allows you to delete an
entire directory (and all directories under
it) with one quick command. You will be
Supersonic Search Tool Page 21
Keith Ledbetter's Software Catalog
shown totals of what you are about to delete
and then be asked to confirm (the confirm
process can be over-ridden from the command
line).
Freeware: $0
DIRSIZ11.ZIP 1.1 "Directory Size Information" allows you to
easily determine the total size (in both
files and bytes) of any directory.
Freeware: $0
DUPICO10.ZIP 1.0 "Duplicate Icon Deleter" is for any Windows
3.0 user who has accumulated tons of icons.
It will go through a directory and delete all
duplicate icon images, regardless of what they
are named.
Freeware: $0
TIMER10.ZIP 1.0 This program allows you to easily time the
execution of any program. Simply use TIMER
to invoke the command (eg: "timer chkdsk C:")
and you will be shown, at the completion of
the command, the elapsed time.
Freeware: $0
UNTAB10.ZIP 1.0 One of the fastest "un-tab" programs you will
find. It takes the specified input file and
copies it to the specified output file,
replacing all tab characters with hard blanks
(you specify the "tab size").
Freeware: $0
You can download all of these files from the Blue Ridge Express in
Richmond, VA. This is the official tech support board for all of my
software, and there's a special "Keith Ledbetter" message section where
you can quickly get your questions answered. Once you log on, just do
a "J KEITHL" to join my sub-board. First-time callers have access to
both my message base and all of my download files.
The Blue Ridge Express is a first-class BBS, with 30 phone lines; no
need to worry about getting a busy signal! The number is:
The Blue Ridge Express BBS
804-790-1675
Supersonic Search Tool Page 22
Keith Ledbetter's Software Catalog
All of my software can also be obtained from the following places:
Alternative Personal Software
269 Springside Drive Suite C
Hamilton, Ontario
Canada L9B 1P8
Tel: (416) 577-4068
PC Assist Limited
4 Carruber's Close
135 High Street
Edinburgh, EH1 1SJ
Scotland
Tel: 031-557-6432
BroCo Software
P. O. Box 446
3760 AK SOEST
Holland
Tel: 31-2155-26650
EURO BOARD
John Warren
Postfach
3920 ZERMATT, VS
Switzerland
BBS: (0228) / 476-111-06 (Swiss Telepac)
End of document.